﻿using System;
using System.Collections.Generic;
using BLL.Entities.Company;

namespace BLL.Entities.Client
{
  public class ClientCourtAppearance : BaseBusinessEntity
  {
    public Guid ClientCaseID { get; set; }
    public CourtLocation Court { get; set; }
    public string Room { get; set; }
    public DateTime CourtDate { get; set; }
    public DynamicEnumTypeValue AppearanceType { get; set; }
    public bool IsClientAttending { get; set; }
    public IList<ClientCaseWitness> RequiredWitnesses { get; set; }
    public DynamicEnumTypeValue RequiredEnterpreteur { get; set; }
    public DynamicEnumTypeValue Result { get; set; }
    public Judge Judge {get;set;}

    public ClientCourtAppearance()
    {
        Court = CourtLocation.CreateNewInstance<CourtLocation>();
        RequiredWitnesses = new List<ClientCaseWitness>();
        Judge = Judge.CreateNewInstance<Judge>();
    }
  }
}